package core.command
{
	import core.event.SocketEventID;
	import core.event.UnoEvent;
	import core.event.ViewEventID;
	
	public class UpdateRoomCommand extends SuperCommand
	{
		public function UpdateRoomCommand()
		{
			super();
			socketEvent = SocketEventID.ENTER_ROOM_UPDATE;
			viewEvent = ViewEventID.ENTER_ROOM_UPDATE;
		}
		override public function success(e:UnoEvent):void
		{
			db.userList[e.data.userID]=e.data;
		}
	}
}